package co.fitstart.weapp.api.service;

import java.util.List;

import co.fitstart.entity.order.Order;
import co.fitstart.entity.order.OrderType;
import co.fitstart.entity.order.PaymentStatus;
import co.fitstart.entity.user.User;
import co.fitstart.entity.user.agent.Agent;

/**
 * 
 * @author dan
 *
 */
public interface OrderService {
    
    /**
     * 
     * @param orderType
     * @param agent
     * @return
     */
    public List<Order> listAgentOrder(OrderType orderType, Agent agent);
    
    /**
     * List
     * 
     * @param user
     * @param paymentStatus
     * @return
     */
    public List<Order> list(User user, PaymentStatus paymentStatus);
    
    /**
     * 
     * @param id
     * @return
     */
    public Order load(Long id);

}
